import request from "@/services";

// 1: 单曲, 10: 专辑, 100: 歌手, 1000: 歌单, 1002: 用户, 1004: MV, 1006: 歌词, 1009: 电台, 1014: 视频, 1018: 综合, 2000:
export const getSearchkeywordsAPI = (keywords: string, limit = 9, offset = 0, type = 1002) => {
  return request.get<any>({
    url: '/search',
    params: {
      keywords,
      limit,
      offset,
      type
    }
  })
}